package com.java8.ch02;

/*
 	Here is another short example.
 	Call this file "Example2.java".
 */
public class Example2 {

	public static void main(String[] args) {
		int num;//this declares a variable called num
		
		num = 100;//this assigns num the value 100
		
		System.out.println("This is num: " + num);
		
		num = num * 2;
		System.out.print("The value of num * 2 is ");
		System.out.println(num);
	}
	
}
